<template>
  <div class="contact-list-container">
    <div v-for="(contact, index) in contacts" :key="index" class="contact-item">
      <div class="contact-name">{{ contact.name }}</div>
      <div class="contact-phone">{{ contact.phone }}</div>
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {
      contacts: [
         { name: '张三', phone: '13800138000' },
         { name: '李四', phone: '13900139000' }
       ]
    };
  }
};
</script>

<style scoped>
.contact-list-container {
  padding: 10px;
}

.contact-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 10px;
  margin-bottom: 10px;
}

.contact-name {
  font-size: 16px;
  font-weight: bold;
}

.contact-phone {
  font-size: 14px;
  color: #666;
}
</style>